import service from '../utils/service';
//请求听单下的分类列表
export const reqGetListenList = () => service.get('/revision/subject/category');

//请求某个分类的听单列表
export const reqGetSomeListenList = (
  title: string,
  pageNum: number,
  pageSize: number
) =>
  service.get(
    `/revision/subject/categorySubjectList/${title}?pageNum=${pageNum}&pageSize=${pageSize}`
  );
//点击听单跳转到详情页

export const reqGoDetail = (url) =>
  service.get(`/revision/subject/category/${url}`);
